<html>
	<head>
		<title>words</title>
<link href="../docs-assets/Breadcrumbs.css" rel="stylesheet" rev="stylesheet" type="text/css">
		<meta name="viewport" content="width=device-width initial-scale=1">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta http-equiv="Content-Language" content="en-gb">

<link href="../docs-assets/Contents.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Progress.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Navigation.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Fonts.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Base.css" rel="stylesheet" rev="stylesheet" type="text/css">
		
	</head>
	<body class="commentary-font">
		<nav role="navigation">
		<h1><a href="../index.html"><img src="../docs-assets/Inform.png" height=72> </a></h1>
<ul><li><a href="../index.html">home</a></li>
</ul><h2>Compiler</h2><ul>
<li><a href="../structure.html">structure</a></li>
<li><a href="../inbuildn.html">inbuild</a></li>
<li><a href="../inform7n.html">inform7</a></li>
<li><a href="../intern.html">inter</a></li>
<li><a href="../services.html">services</a></li>
<li><a href="../secrets.html">secrets</a></li>
</ul><h2>Other Tools</h2><ul>
<li><a href="../inblorbn.html">inblorb</a></li>
<li><a href="../inform6.html">inform6</a></li>
<li><a href="../inpolicyn.html">inpolicy</a></li>
</ul><h2>Resources</h2><ul>
<li><a href="../extensions.html">extensions</a></li>
<li><a href="../kits.html">kits</a></li>
</ul><h2>Repository</h2><ul>
<li><a href="https://github.com/ganelson/inform"><img src="../docs-assets/github.png" height=0> github</a></li>
</ul><h2>Related Projects</h2><ul>
<li><a href="https://github.com/ganelson/inweb"><img src="../docs-assets/github.png" height=0> inweb</a></li>
<li><a href="https://github.com/ganelson/intest"><img src="../docs-assets/github.png" height=0> intest</a></li>
</ul>
		</nav>
		<main role="main">
		<ul class="crumbs"><li><a href="../index.html">Home</a></li><li><a href="../services.html">Services</a></li><li><b>words</b></li></ul>
		<p class="purpose">A library of code for reading natural language into a stream of words. This is version 1.</p>
		<hr>
		<div class="contentspage">
			<ul class="chapterlist">
				<li>
					<p class="chapterentry"><a name="P"></a>
						<span class="chaptertitle">Preliminaries</span></p>
					<ul class="sectionlist">
						<li>
							<p class="sectionentry"><a href="P-wtmd.html">
								<spon class="sectiontitle">What This Module Does</span></a> -
							<span class="sectionpurpose">An overview of the words module's role and abilities.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="P-htitm.html">
								<spon class="sectiontitle">How To Include This Module</span></a> -
							<span class="sectionpurpose">What to do to make use of the words module in a new command-line tool.</span></p>
						</li>
					</ul>
				</li>
				<li>
					<p class="chapterentry"><a name="1"></a>
						<span class="chaptertitle">Chapter 1: Setting Up</span></p>
					<p class="chapterpurpose">Building on the foundation module.</p>
					<ul class="sectionlist">
						<li>
							<p class="sectionentry"><a href="1-wm.html">
								<spon class="sectiontitle">Words Module</span></a> -
							<span class="sectionpurpose">Setting up the use of this module.</span></p>
						</li>
					</ul>
				</li>
				<li>
					<p class="chapterentry"><a name="2"></a>
						<span class="chaptertitle">Chapter 2: Words in Isolation</span></p>
					<p class="chapterpurpose">Recognising different words, and storing phrases made of them.</p>
					<ul class="sectionlist">
						<li>
							<p class="sectionentry"><a href="2-vcb.html">
								<spon class="sectiontitle">Vocabulary</span></a> -
							<span class="sectionpurpose">To classify the words in the lexical stream, where two different words are considered equivalent if they are unquoted and have the same text, taken case insensitively.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="2-wa.html">
								<spon class="sectiontitle">Word Assemblages</span></a> -
							<span class="sectionpurpose">To manage arbitrary assemblies of vocabulary, if a little slowly.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="2-nw.html">
								<spon class="sectiontitle">Numbered Words</span></a> -
							<span class="sectionpurpose">Some utilities for handling single words referred to by number.</span></p>
						</li>
					</ul>
				</li>
				<li>
					<p class="chapterentry"><a name="3"></a>
						<span class="chaptertitle">Chapter 3: Words in Sequence</span></p>
					<p class="chapterpurpose">Reading in arbitrary text and breaking it into a numbered sequence of words.</p>
					<ul class="sectionlist">
						<li>
							<p class="sectionentry"><a href="3-lxr.html">
								<spon class="sectiontitle">Lexer</span></a> -
							<span class="sectionpurpose">To break down a stream of characters into a numbered sequence of words, literal strings and literal I6 inclusions, removing comments and unnecessary whitespace.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="3-wrd.html">
								<spon class="sectiontitle">Wordings</span></a> -
							<span class="sectionpurpose">To manage contiguous word ranges.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="3-tff.html">
								<spon class="sectiontitle">Text From Files</span></a> -
							<span class="sectionpurpose">This is where source text is read in, whether from extension files or from the main source text file, and fed into the lexer.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="3-fds.html">
								<spon class="sectiontitle">Feeds</span></a> -
							<span class="sectionpurpose">Feeds are conduits for arbitrary text to flow into the lexer, and to be converted into wordings.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="3-idn.html">
								<spon class="sectiontitle">Identifiers</span></a> -
							<span class="sectionpurpose">To summarise wordings into alphanumeric identifiers of the kind used by standard programming languages.</span></p>
						</li>
					</ul>
				</li>
				<li>
					<p class="chapterentry"><a name="4"></a>
						<span class="chaptertitle">Chapter 4: Parsing</span></p>
					<ul class="sectionlist">
						<li>
							<p class="sectionentry"><a href="4-ap.html">
								<spon class="sectiontitle">About Preform</span></a> -
							<span class="sectionpurpose">A brief guide to Preform and how to use it.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-nnt.html">
								<spon class="sectiontitle">Nonterminals</span></a> -
							<span class="sectionpurpose">The angle-bracketed terms appearing in Preform grammar.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-lp.html">
								<spon class="sectiontitle">Loading Preform</span></a> -
							<span class="sectionpurpose">To read in structural definitions of natural language written in the meta-language Preform.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-to.html">
								<spon class="sectiontitle">The Optimiser</span></a> -
							<span class="sectionpurpose">To precalculate data which enables rapid parsing of source text against a Preform grammar.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-le.html">
								<spon class="sectiontitle">Length Extremes</span></a> -
							<span class="sectionpurpose">To precalculate data which enables rapid parsing of source text against a Preform grammar.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-ni.html">
								<spon class="sectiontitle">Nonterminal Incidences</span></a> -
							<span class="sectionpurpose">To work out bitmaps of nonterminal incidences in grammar.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-prf.html">
								<spon class="sectiontitle">Preform</span></a> -
							<span class="sectionpurpose">To parse the word stream against a general grammar defined by Preform.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-bn.html">
								<spon class="sectiontitle">Basic Nonterminals</span></a> -
							<span class="sectionpurpose">A handful of bare minimum Preform syntax.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-ins.html">
								<spon class="sectiontitle">Instrumentation</span></a> -
							<span class="sectionpurpose">To provide debugging and tuning data on the Preform parser's performance.</span></p>
						</li>
						<li>
							<p class="sectionentry"><a href="4-pu.html">
								<spon class="sectiontitle">Preform Utilities</span></a> -
							<span class="sectionpurpose">Other uses for Preform grammar, including the generation of adaptive text, and word inflection.</span></p>
						</li>
					</ul>
				</li>
			</ul>
		</div>
		<hr>
		<p class="purpose">Powered by <a href="https://github.com/ganelson/inweb">Inweb</a>.</p>
		</main>
	</body>
</html>

